package com.itheima.mapper;

import com.itheima.pojo.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperateMapper {
    @Insert("insert into operate_log (operate_user,operate_type,operate_params,cost_time,operate_time)" +
            "values " +
            "(#{operateUser},#{operateType},#{operateParams},#{costTime},#{operateTime})")
    void insert(OperateLog operateLog);
}
